package qiniu.ip17mon;

import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;

public class Test {

    public static void main(String[] args) {
        
        Map<String, Long> map1 = new HashMap<>();
        map1.put("name", 1l);
        
        Map<String, String> map2 = new HashMap<>();
        map2.put("name", "sss");
        test(map1);
        test(map2);
    }
    
    public static void test(Map<String, ?> map){
        
        for (Entry en : map.entrySet()) {
            System.out.println(en.getValue().getClass().getName());
        }
        System.out.println(map.get("name"));
        
    }
}
